package com.xzbd.springbootmybatiesdm.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "demo-config.upload")
@PropertySource(value = "classpath:config/demo-config.yml",factory = YamlPropertyLoadFactory.class)
public class UploadConfig{
    
    private String picPath;
    private String docPath;

}